<html>
  <body>
    
    <div id="abc">
        <button onclick="this.parentNode.style.cssText='display: none'">点击复制</button>
    </div>
    
  </body>

  <script>
      console.log(document.getElementById('abc').parentNode);
    
  </script>
</html>
